package com.czh.springboot04.service;

import com.czh.springboot04.entity.UserMark;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserMarkService {

    int insertUserMark(UserMark userMark);
    int updateUserMarkById(UserMark userMark);
    UserMark selectUserMarkById(Integer id);
    int deleteUserMarkById(Integer id);
    int deleteUserMarkByList(List<Integer> idList);
    PageInfo<UserMark> selectUserMarkAll(Integer userId,
                                         Integer consultId,
                                         Integer appId,
                                         Integer markStar,
                                         Integer pageNum,
                                         Integer pageSize);
    List<UserMark> selectUserMark();
}
